/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Model;

import java.util.ArrayList;
import java.util.Date;

/**
 *
 * @author kostas
 */
public class SalesOrder {
    private int salesOrderId;
    private Date date;
    private ArrayList<Item> items;
    private float totalPrice;
    private Date deliveryDate;
    private Customer customer;
    private int discount;
    private float deliveryFee;
    private Status status;

    public SalesOrder(int s, Date dat, float t, ArrayList<Item> it, Date delivery, Customer c, int d, float deliveryF, Status st) {
        salesOrderId = s;
        date = dat;
        items = it;
        totalPrice = t;
        deliveryDate = delivery;
        customer = c;
        discount = d;
        deliveryFee = deliveryF;
        status = st;
    }

    public SalesOrder() {
    }

    public Customer getCustomer() {
        return customer;
    }

    public Date getDate() {
        return date;
    }

    public ArrayList<Item> getItems() {
        return items;
    }
    
    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public float getDeliveryFee() {
        return deliveryFee;
    }

    public int getDiscount() {
        return discount;
    }

    public int getSalesOrderId() {
        return salesOrderId;
    }

    public Status getStatus() {
        return status;
    }

    public float getTotalPrice() {
        return totalPrice;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public void setDeliveryFee(float deliveryFee) {
        this.deliveryFee = deliveryFee;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public void setTotalPrice(float totalPrice) {
        this.totalPrice = totalPrice;
    }

    public void setSalesOrderId(int salesOrderId) {
        this.salesOrderId = salesOrderId;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public void setItems(ArrayList<Item> items) {
        this.items = items;
    }
}
